#define  _CRT_SECURE_NO_WARNINGS 1

#include "CSList.h"

void CSList(SListNode** phead)
{
	SListNode* n1 = *phead;
	SListNode* n2 = (*phead)->Next;
	SListNode* n3 = n2->Next;
	n1->Next = NULL;
	while (n2)
	{
		n2->Next = n1;
		n1 = n2;
		n2 = n3;
		if (n3 != NULL)
		{
			n3 = n2->Next;
		}
	}
}